package com.ostrich.demonavigation

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast

class MainActivity2 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        //接受数据
        val goodsId = intent.scheme
        Toast.makeText(this,"goodsId $goodsId",Toast.LENGTH_SHORT).show()
    }
}